<!DOCTYPE html>
<html>

<head>
    <title>Theme elements</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
    <link rel="stylesheet" type="text/css" href="https://rdocumentation.rsharp.net/assets/page.css">
</head>

<body>
    <div class="container">

        <table style="width: 100%;">
            <tr>
                <td>element_rect {ggplot2}</td>
                <td style="text-align: right;">R Documentation</td>
            </tr>
        </table>

        <h2>Theme elements</h2>

        <h3>Description</h3>

        <p><br /> In conjunction with the theme system, the <code>element_</code> functions<br /> specify the display of how non-data components of the plot are <br /> drawn.<br /> <br /> borders and backgrounds.</p>

        <h3>Usage</h3>

        <div style="width: 100%; padding-left: 3%; color: black;">
            <pre><code class='language-R' style="color: black; font-weight:normal;"><strong>element_rect</strong>(
    <i>fill</i> = <span style='color: blue !important;'>NULL</span>,
    <i>colour</i> = <span style='color: blue !important;'>NULL</span>,
    <i>size</i> = <span style='color: green;'>1</span>,
    <i>linetype</i> = Solid,
    <i>color</i> = <span style='color: blue !important;'>NULL</span>,
    <i>inherit.blank</i> = <span style='color: blue !important;'>FALSE</span>);</code></pre>
        </div>

        <h3>Arguments</h3>

        <table>
            
<dt>fill</dt>
<dd><p>Fill colour.</p></dd>


<dt>color</dt>
<dd><p>Line/border colour. Color is an alias for colour.</p></dd>


<dt>colour</dt>
<dd><p>Line/border colour. Color is an alias for colour.</p></dd>


<dt>size</dt>
<dd><p>Line/border size in mm; text size in pts. [as double]</p></dd>


<dt>linetype</dt>
<dd><p>Line type. An integer (0:8), a name (blank, solid, dashed, dotted, 
 dotdash, longdash, twodash), or a string with an even number (up 
 to eight) of hexadecimal digits which give the lengths in consecutive 
 positions in the string. [as <a href="/vignettes/clr/System/Drawing/Drawing2D/DashStyle.html">DashStyle</a>]</p></dd>


<dt>inherit.blank</dt>
<dd><p>Should this element inherit the existence of an element_blank 
 among its parents? If TRUE the existence of a blank element
 among its parents will cause this element to be blank as well. 
 If FALSE any blank parent element will be ignored when calculating
 final element state. [as boolean]</p></dd>

        </table>


        <h3 style="display: none;">Details</h3>

        

        <h3 style="display: block">Authors</h3>

        SMRUCC genomics institute

        <h3>Value</h3>

        this function returns data object of type <a href="/vignettes/clr/ggplot/elements/rectElement.html">rectElement</a>.<h4>clr value class</h4><ul><li><a href="/vignettes/clr/ggplot/elements/rectElement.html">rectElement</a></li></ul>

        <h3 style="display: none;">Examples</h3>

        

        <hr />
        <div style="text-align: center;">[Package <em>ggplot2</em> version 1.0.0.0 <a
                href="../ggplot2.html">Index</a>]
        </div>
    </div>
</body>

<script type="text/javascript" src="https://rdocumentation.rsharp.net/assets/R_syntax.js"></script>
<script type="text/javascript" src="https://rdocumentation.rsharp.net/assets/highlights.js"></script>
<script type="text/javascript">r_highlights("example_r");</script>

</html>